package com.travel.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
public class ScenicSpotVO {
    private Long id;
    private String name;
    private String openingHours; //开放时间
    private String location;    //详细地址名
    private BigDecimal ticketPrice;  //价格
    private String imageUrl;
    private String tags;
    private String description;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("createdAt")
    private LocalDateTime createdAt;
}
